/**
 * 
 */
package com.tmobile.phonebook;

import java.util.TimerTask;

/**
 * @author sjain
 *
 */
public class DisplayPhoneBookTask extends TimerTask {

	PhoneBook phoneBook;
	
	public DisplayPhoneBookTask(PhoneBook p)
	{
		this.phoneBook = p;
	}
	
	@Override
	public void run() {
		
	phoneBook.displayPhoneBook();
		
	}

}
